import request from '@/utils/request'

// 攻略游记列表
export function strategyList(params) {
  return request({
    url: '/system/strategy/list',
    method: 'get',
    params
  })
}

// 删除攻略
export function strategyDel(ids) {
  return request({
    url: '/system/strategy/' + ids,
    method: 'delete'
  })
}

// 攻略详情
export function strategyDetail(id) {
  return request({
    url: '/system/strategy/' + id,
    method: 'get'
  })
}

// 攻略审核
export function strategyAudit(params) {
  return request({
    url: '/system/strategy/audit',
    method: 'get',
    params
  })
}

// 导出
export function exportHandle(params) {
  return request({
    url: '/system/strategy/export',
    method: 'get',
    params
  })
}
